namespace RMSModel
{
    using RMSModel.Models;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    [Table("goods")]
    public partial class goods:BaseEntity
    {
        public int id { get; set; }

        public int? categoryid { get; set; }

        [StringLength(50)]
        public string goodsn { get; set; }

        [StringLength(255)]
        public string name { get; set; }

        [Column(TypeName = "bit")]
        public bool? status { get; set; }

        public int? goodsellnumber { get; set; }

        public int? goodnumber { get; set; }

        [StringLength(255)]
        public string masterpicurl { get; set; }

        [StringLength(255)]
        public string listpicurl { get; set; }

        public decimal? price { get; set; }

        public int sort { get; set; } = 0;
    }
}
